Copy `--all-features` request to all workspace members
authorAlex Crichton <alex@alexcrichton.com>
Mon, 21 May 2018 19:57:25 +0000 (12:57 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 24 May 2018 19:06:22 +0000 (12:06 -0700)
commit3bb99cc91d4144bda7dd6adfe56a4b432a2ea298
tree9a91485833de83272faa4ea1d84332b06c01bd3c
parentcbf6c57aa1ec2c793779fa2abd720f1817a3c1bc
Copy `--all-features` request to all workspace members

This fixes an accidental regression introduced in #5012 where the
`--all-features` CLI flag was only propagated to the "main crate" as opposed to
all workspace packages. This behavior has [already been deemed][pr] as
"basically not what you want", but for now it's best to avoid the regression.

Closes #5518

[pr]: https://github.com/rust-lang/cargo/pull/5353
src/cargo/ops/resolve.rs
tests/testsuite/features.rs